package com.guigu.gulicommon.entity.vo;

/**
 * 锁定库存返回对象
 *
 * @author 陈俊杰
 * @version 1.0
 * @since 2024/9/29 13:35
 */

import com.guigu.gulicommon.constant.enumes.ware.HasStock;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class LockStockVo {
    /**
     * 商品id
     */
    private Long skuId;
    /**
     * 购买数量
     */
    private Integer count;
    /**
     * 是否锁定库存
     *
     * @see HasStock#getName()
     */
    private HasStock hasStock;
}
